*===============================================================================
*
*					WORKER BELIEFS ABOUT OUTSIDE OPTIONS
*		(c)	Simon Jaeger, Christopher Roth, Nina Roussille, Benjamin Schoefer
*							  2023 December 5
*						   	   	 Local Data 
*
*===============================================================================


********************************************************************************
*
*
*	    0 Master Dofile
*
*
********************************************************************************



* Set Paths and Settings

clear
set more off        
cap log close

* Packages to be installed
ssc install winsor 
ssc install distplot
ssc install outreg
ssc install outreg2
ssc install estout

* PLEASE SET LOCATION OF THIS MASTER .DO FILE: 
global home 

* Set Paths
global local_code "$home/local_code"
global exp_data "$home/local_code/exp_data"
global soep_data "$home/local_code/soep_data"
global temp "$home/temp"
global fig "$home/figures"
global tab "$home/tables"

* graph settings
set scheme s1color
cap noisily set linesize 255
cap graph set window fontface default

* Occupation and Region crosswalks
do "$local_code/1_occupation_crosswalk.do"
do "$local_code/2_region_crosswalk.do"

* Cleaning experiment data
do "$local_code/3_exp_clean.do"

* Cleaning robustness data
do "$local_code/4_robust_clean.do"

* Cleaning soep data
do "$local_code/5_soep_clean.do"

* Figures
do "$local_code/FigureIXab.do"

* Tables
do "$local_code/TableII.do"

* Appendix Figures
do "$local_code/FigureB03.do"
do "$local_code/FigureB06.do"
do "$local_code/FigureE02abcdef.do"

* Appendix Tables
do "$local_code/TableA03.do"
do "$local_code/TableA04.do"
do "$local_code/TableE01.do"
do "$local_code/TableF01.do"
do "$local_code/TableF02.do"
do "$local_code/TableF03.do"
